Added local llm support to cypher-core.#2
Added local llm support to cypher-core.#2skillsharer wants to merge 7 commits intokingbootoshi:mainfrom
Conversation
|
yo qwen is sick. does qwen need it's own adapter? or can the adapter be hugging face in general? just tryna figure out how the hugging face interface works |
|
That was one of the questions in my head also. There are multiple factors which we need to consider.
|
|
https://huggingface.co/Qwen/QVQ-72B-Preview would this support this reasoning model for qwen ? has vision tech. looks insane we should handle output on the baseAgent typescript side so it's consistent for LLM models that don't have image support, i wanted to route them through a fireworks vision model and just get text returned added to the base agent chat history so it knows the context of the image (explain this image in deep detail) |
|
The routing of images is a great idea! I checked the 72Billion model. Naive me hoped that I can run on my Macbook pro. Despite the 64 GB ram and the M2 architecture, I was not able to run the inference. I created a branch on my cypher-genesis fork, where the server side is done for this model: https://github.com/skillsharer/cypher-core/tree/feature/integrate-qwen-vision-model |
Summary of Changes:
Added comprehensive support for Huggingface models, including server setup and model implementations. Currently Qwen/Qwen2.5-7B-Instruct supported. Further information is in the src/huggingface/README.md
Introduced new TypeScript adapters and clients for the Qwen model.